package global

import (
	"context"
	"github.com/elastic/go-elasticsearch/v7"
	"github.com/go-redis/redis/v8"
	"go.mongodb.org/mongo-driver/mongo"
	"gorm.io/gorm"
)

var (
	Db            *gorm.DB               //mysql全局变量
	Client        *redis.Client          //redis全局变量
	Es            *elasticsearch.Client  //es全局变量
	EmptyCtx      = context.Background() //空的上下文 全局变量
	MonGoDbClient *mongo.Client          //mongodb 全局变量
	MonGoDatabase *mongo.Database        //mongodb集合 全局变量
)

const (
	JwtSecretKey    = "GDN6306TRC25DTA2DRS"
	Base64SecretKey = "DIS**#KKKDJJSKDI"
)
